﻿using System.Collections.Generic;

namespace InDepth2Demo.Chapter11
{
    internal class People
    {
        public string Name { get; set; }
        public int Age { get; set; }

        public static List<People> GetSamplePeoples()
        {
            List<People> list = new List<People>()
            {
                new People { Name = "West Side Story", Age = 9 },
                new People { Name = "Assassins", Age = 14 },
                new People { Name = "Frogs", Age = 20 }
            };
            return list;
        }
    }
}
